﻿/// <reference path="../jquery/jquery-1.3.2-vsdoc.js" />
/// <reference path="Complaint.Namespaces.js" />
/// <reference path="Complaint.Common.js" />
/// Dependency: Script block from Grid.ascx

$(function() {
    $(".paginationRight > a, #tblRequests th > a").die("click");
    $(".paginationRight > a, #tblRequests th > a")
                .live("click", function(event) {
                    event.preventDefault();
                    $.post(
                    this.href,
                    { keywords: keywords },
                    function(data) { $("#grid").html(data); }
                    );
                });

});

var loadDetails = function(id) {
    location.href = Complaint.Common.SiteRoot + "/Organisation/Details/" + id;
};